﻿/*
 * @Autor: PK
 * @Date: 2021/12/15 16:53:SS
 */

namespace ShkSimulation.carsharing.impl.model.dispatch {

	public class DispatchInfo {
		
		public int AgencyUniqueId { get; set; }
		
		public int FreeVehicleCount { get; set; }
		
		public int FreeDispatcherCount { get; set; }
		
		public int UsableDispatcherCount { get; set; }
		
		public int LackDispatcherCount { get; set; }
		
		public int LackVehicleCount { get; set; }
		
		public int VehicleCountExceed { get; set; }

		public static DispatchInfo Create(int uniqueId, int freeVehicleCount, int dispatchersCount) {
			DispatchInfo info = new DispatchInfo();
			info.AgencyUniqueId = uniqueId;
			info.FreeVehicleCount = freeVehicleCount;
			info.FreeDispatcherCount = dispatchersCount;
			return info;
		}

	}
}